import 'dart:io';
import 'package:path_provider/path_provider.dart';

class FFPhonePath{
    static Future<String> getPhoneLocalPath() async {
    if (Platform.isIOS) {
      final directory = await getApplicationDocumentsDirectory();
      return directory.path;
    } else {
      // final directory = await getApplicationSupportDirectory();
      // return directory.path;
      final directory = await getExternalStorageDirectory();
      return directory!.path;
    }
  }
}